﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace PHRClient.DoctorForms.PatientRegister
{
    public partial class GeneralInformationDetails : Form
    {
        public GeneralInformationDetails()
        {
            InitializeComponent();
            this.TopLevel = false;
            this.AutoScroll = true;
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
            this.Dock = DockStyle.Fill;


            this.textBox1.Text = Validator.patient.Name;
            this.textBox3.Text = Validator.patient.Tel;
            this.textBox2.Text = Validator.patient.Address;
            this.dateTimePicker1.Value = Convert.ToDateTime(Validator.patient.Birthday);

            if (Validator.patient.Gender.Equals("Male"))
                this.radioButton14.Checked = true;
            else if (Validator.patient.Gender.Equals("Female"))
                this.radioButton13.Checked = true;                

        }
    }
}
